package com.tg.paw.common.constant;

import java.io.Serializable;

/**
 * @author Rubble
 * @date 2020/6/12
 */
public class CommonConstant {

    public static final String ACCESS_TOKEN ="Authorization";


    /**
     * access_token
     */
    public static final String API_TOKEN ="";
    /**
     * oauth2  Authorization
     */
    public static final String BEARER_TOKEN="Bearer";

    /**
     * 请求头 登录用户
     */
    public static final String USER_NAME ="userName";

    /**
     * 请求头 登录用户Id
     */
    public static final String USER_ID = "userId";


    /**
     * 访客用户
     */
    public static final String GUEST_USER = "guest";
    /**
     * 管理员账号
     */
    public static final String ADMIN_ACCOUNT = "admin";
    /**
     * 管理员权限
     */
    public static final String ADMIN_AUTHORITY = "admin";

    /**
     * 系统管理员
     */
    public static final long ADMIN_ROLE_ID = 1L;
    /**
     * 店铺管理员角色
     */
    public static final long STORE_ADMIN_ROLE_ID = 2L;


    /**
     * 管理员账号ID
     */
    public static long ADMIN_ACCOUNT_ID = 1;
}
